package oop3;

/**
 * @author oldliu
 * @since 1.0
 */
public class CalcTest2 {
    public static void main(String[] args) {
        Calc c=new Calc();
        Student stu=new Student();
        stu.name="老吴";
        stu.java=49;
        stu.csharp=80;
        stu.sql=60;
        stu.showInfo();
        int avg = c.calcAvg2(stu);
        System.out.println("平局分是："+avg);
        System.out.println("计算之后：");
        stu.showInfo();
    }
}
